<?php
class UseraddtimeModel extends Model{
	function addTime($usrId,$day,$datetime) {
		return $this->add(array('usr_id'=>$usrId,'uat_day'=>$day,'uat_datetime'=>$datetime));
	}
	
	function isAdded($usrId,$datetime) {
		
		return $this->where(array('usr_id'=>$usrId,'uat_datetime'=>$datetime))->find();
	}
}
